//
//  HNMapGrid.h
//  HeroNuts
//
//  Created by eyexing on 11-5-16.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HNHexTouchDelegateProtocol.h"
#import "cocos2d.h"


@interface HNMapGrid : NSObject <HNHexTouchDelegate>
{
    CCSpriteBatchNode* batch_;
    CCSprite *selected_;
}

//@property (nonatomic, retain) CCSpriteBatchNode *batch;
//@property (nonatomic, retain) CCSprite *selected;

- (id) initWithParent: (CCLayer *)layer;

- (CGPoint) changeToRealPosition: (CGPoint)position;

//highlight the points (logic pisition, which is the instance of HNLogicPosition)
- (void) highlightGridwithArray: (NSArray *)gridArray;
//revert the highlighted points
- (void) revertHighlight;

@end
